3.10.26 \(\int \frac {\sqrt {c x^2} (a+b x)^n}{x} \, dx\) [926]

Optimal. Leaf size=30 \[ \frac {\sqrt {c x^2} (a+b x)^{1+n}}{b (1+n) x} \]

[Out]

(b*x+a)^(1+n)*(c*x^2)^(1/2)/b/(1+n)/x

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 30, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {15, 32} \begin {gather*} \frac {\sqrt {c x^2} (a+b x)^{n+1}}{b (n+1) x} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(Sqrt[c*x^2]*(a + b*x)^n)/x,x]

[Out]

(Sqrt[c*x^2]*(a + b*x)^(1 + n))/(b*(1 + n)*x)

Rule 15

Int[(u_.)*((a_.)*(x_)^(n_))^(m_), x_Symbol] :> Dist[a^IntPart[m]*((a*x^n)^FracPart[m]/x^(n*FracPart[m])), Int[
u*x^(m*n), x], x] /; FreeQ[{a, m, n}, x] &&  !IntegerQ[m]

Rule 32

Int[((a_.) + (b_.)*(x_))^(m_), x_Symbol] :> Simp[(a + b*x)^(m + 1)/(b*(m + 1)), x] /; FreeQ[{a, b, m}, x] && N
eQ[m, -1]

Rubi steps

\begin {align*} \int \frac {\sqrt {c x^2} (a+b x)^n}{x} \, dx &=\frac {\sqrt {c x^2} \int (a+b x)^n \, dx}{x}\\ &=\frac {\sqrt {c x^2} (a+b x)^{1+n}}{b (1+n) x}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 29, normalized size = 0.97 \begin {gather*} \frac {c x (a+b x)^{1+n}}{b (1+n) \sqrt {c x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(Sqrt[c*x^2]*(a + b*x)^n)/x,x]

[Out]

(c*x*(a + b*x)^(1 + n))/(b*(1 + n)*Sqrt[c*x^2])

________________________________________________________________________________________

Maple [A]
time = 0.13, size = 29, normalized size = 0.97

method result size
gosper \(\frac {\left (b x +a \right )^{1+n} \sqrt {c \,x^{2}}}{b \left (1+n \right ) x}\) \(29\)
risch \(\frac {\left (b x +a \right ) \left (b x +a \right )^{n} \sqrt {c \,x^{2}}}{b \left (1+n \right ) x}\) \(32\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x+a)^n*(c*x^2)^(1/2)/x,x,method=_RETURNVERBOSE)

[Out]

(b*x+a)^(1+n)*(c*x^2)^(1/2)/b/(1+n)/x

________________________________________________________________________________________

Maxima [A]
time = 0.29, size = 28, normalized size = 0.93 \begin {gather*} \frac {{\left (b \sqrt {c} x + a \sqrt {c}\right )} {\left (b x + a\right )}^{n}}{b {\left (n + 1\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^n*(c*x^2)^(1/2)/x,x, algorithm="maxima")

[Out]

(b*sqrt(c)*x + a*sqrt(c))*(b*x + a)^n/(b*(n + 1))

________________________________________________________________________________________

Fricas [A]
time = 0.49, size = 30, normalized size = 1.00 \begin {gather*} \frac {\sqrt {c x^{2}} {\left (b x + a\right )} {\left (b x + a\right )}^{n}}{{\left (b n + b\right )} x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^n*(c*x^2)^(1/2)/x,x, algorithm="fricas")

[Out]

sqrt(c*x^2)*(b*x + a)*(b*x + a)^n/((b*n + b)*x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \begin {cases} \frac {\sqrt {c x^{2}}}{a} & \text {for}\: b = 0 \wedge n = -1 \\a^{n} \sqrt {c x^{2}} & \text {for}\: b = 0 \\\int \frac {\sqrt {c x^{2}}}{x \left (a + b x\right )}\, dx & \text {for}\: n = -1 \\\frac {a \sqrt {c x^{2}} \left (a + b x\right )^{n}}{b n x + b x} + \frac {b x \sqrt {c x^{2}} \left (a + b x\right )^{n}}{b n x + b x} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)**n*(c*x**2)**(1/2)/x,x)

[Out]

Piecewise((sqrt(c*x**2)/a, Eq(b, 0) & Eq(n, -1)), (a**n*sqrt(c*x**2), Eq(b, 0)), (Integral(sqrt(c*x**2)/(x*(a
+ b*x)), x), Eq(n, -1)), (a*sqrt(c*x**2)*(a + b*x)**n/(b*n*x + b*x) + b*x*sqrt(c*x**2)*(a + b*x)**n/(b*n*x + b
*x), True))

________________________________________________________________________________________

Giac [A]
time = 1.68, size = 42, normalized size = 1.40 \begin {gather*} -\sqrt {c} {\left (\frac {a^{n + 1} \mathrm {sgn}\left (x\right )}{b n + b} - \frac {{\left (b x + a\right )}^{n + 1} \mathrm {sgn}\left (x\right )}{b {\left (n + 1\right )}}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^n*(c*x^2)^(1/2)/x,x, algorithm="giac")

[Out]

-sqrt(c)*(a^(n + 1)*sgn(x)/(b*n + b) - (b*x + a)^(n + 1)*sgn(x)/(b*(n + 1)))

________________________________________________________________________________________

Mupad [B]
time = 0.23, size = 31, normalized size = 1.03 \begin {gather*} \frac {\sqrt {c\,x^2}\,{\left (a+b\,x\right )}^n\,\left (a+b\,x\right )}{b\,x\,\left (n+1\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((c*x^2)^(1/2)*(a + b*x)^n)/x,x)

[Out]

((c*x^2)^(1/2)*(a + b*x)^n*(a + b*x))/(b*x*(n + 1))

________________________________________________________________________________________